package liziy.spring.beans.factory.annotation;

import liziy.spring.core.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD,ElementType.METHOD})  //方法上面
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface Autowired {
    String value() default "";
}
